//
//  SKModel_foodDetail.m
//  Gastrosoph
//
//  Created by 张明磊 on 12-11-6.
//
//

#import "SKModel_foodDetail.h"

@implementation SKModel_foodDetail

@synthesize model_foodTopRank = _model_foodTopRank;

@synthesize integer_commentPeopleCount = _integer_commentPeopleCount;

@synthesize string_restaurantLocation = _string_restaurantLocation;

@synthesize string_foodCost = _string_foodCost;

@synthesize string_restaurantPhone = _string_restaurantPhone;

@synthesize string_styleOfCooking = _string_styleOfCooking;

@synthesize array_otherFoodPhoto = _array_otherFoodPhoto;

@synthesize array_youLikeFoodPhoto = _array_youLikeFoodPhoto;


- (id)initWithfoodTopRankModel:(SKModel_foodTopRank *)_model
           integerCommentCount:(NSInteger)_integer
            restaurantLocation:(NSString *)_location
                      foodCost:(NSString *)_cost
                styleOfCooking:(NSString *)_cooking
               restaurantPhone:(NSString *)_phone
                otherFoodPhoto:(NSArray *)_photo
              youLikeFoodPhoto:(NSArray *)_youLike
{
    self = [super init];
    
    if(self)
    {
        self.model_foodTopRank = _model;
        
        self.integer_commentPeopleCount = _integer;
        
        self.string_restaurantLocation = _location;
        
        self.string_foodCost = _cost;
        
        self.string_restaurantPhone = _phone;
        
        self.string_styleOfCooking = _cooking;
        
        self.array_otherFoodPhoto = _photo;
        
        self.array_youLikeFoodPhoto = _youLike;
    }
    
    return self;
}






- (void)dealloc
{
    [_model_foodTopRank release], _model_foodTopRank = nil;
    
    [_string_restaurantLocation release], _string_restaurantLocation = nil;
    
    [_string_restaurantPhone release], _string_restaurantPhone = nil;
    
    [_string_styleOfCooking release], _string_styleOfCooking = nil;
    
    [_string_foodCost release], _string_foodCost = nil;
    
    [_array_otherFoodPhoto release], _array_otherFoodPhoto = nil;
    
    [_array_youLikeFoodPhoto release], _array_youLikeFoodPhoto = nil;
    
    [super dealloc];
}


@end
